package website.dp.simpleFactory;

import lombok.extern.slf4j.Slf4j;

/**
 * @author: longhc@citycloud.com.cn
 * @since: 2023/2/2 17:09
 * @version: 1.0
 */
@Slf4j
public class TankFactory implements Factory {
    @Override
    public Enemy create(int width) {
        log.info("tank:{}", width);
        return new Tank(1, width);
    }
}
